﻿#ifndef ISQLITE_H
#define ISQLITE_H

#include <QObject>
#include "IDatabase.h"

class ISqlite : public IDatabase
{
    Q_OBJECT
public:
    ISqlite(QObject* parent = nullptr);
    ISqlite(const SqlLinkParam &par, QObject* parent = nullptr);

private:
    bool init() override;
    bool connect();
    bool createTable();
    bool checkIpStatus();
    bool checkSqlEnable();
};

#endif // ISQLITE_H
